package com.liu.lsm.livestock.service;

import com.liu.lsm.livestock.entity.Livestock;

import java.util.List;

public interface LivestockService {
    void deleteById(Integer id);
    void insert(Livestock livestock);
    Livestock selectById(Integer id);
    void updateById(Livestock livestock);
    //根据条件查询
    List<Livestock> listAll(Livestock livestock);
}
